]> dgit.raspbian.org Git - gnome-shell.git/commit
ScreenShield: only inhibit suspend if we're the active session
authorRui Matos <tiagomatos@gmail.com>
Wed, 13 May 2015 19:42:13 +0000 (21:42 +0200)
committerRui Matos <tiagomatos@gmail.com>
Thu, 14 May 2015 13:11:19 +0000 (15:11 +0200)
commit182b1c194149be8e41cb357968279cf05eaabce2
tree428d449f417fc45fa081753a99835a5c4ff3155a
parentbbc8010de3315e767cad0158abfecf1c40b8ffc5
ScreenShield: only inhibit suspend if we're the active session

If we aren't the active session clutter can't animate and thus we
can't expect the shield to be shown before releasing the suspend
inhibitor so we should release it immediately when becoming inactive.

https://bugzilla.gnome.org/show_bug.cgi?id=749228
js/ui/screenShield.js